package meconsea.life.note.accessor;

import java.util.List;

import meconsea.life.note.entity.NoteList;
import meconsea.life.sys.accessor.BaseAccessor;
import meconsea.life.sys.accessor.IAccessor;

import com.google.inject.name.Named;
import com.wideplay.warp.persist.TransactionType;
import com.wideplay.warp.persist.Transactional;
import com.wideplay.warp.persist.dao.Finder;
import com.wideplay.warp.persist.dao.FirstResult;
import com.wideplay.warp.persist.dao.MaxResults;

public class NoteListAccessor extends BaseAccessor<NoteList, String> implements
		IAccessor<NoteList, String> {
	public NoteListAccessor(){
		super(NoteList.class);
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_PUBLIC)
	public List<NoteList> getNLPublic(@Named("isPublic") Integer isPublic,@FirstResult int first,@MaxResults int max){
		return null;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_PUBLIC_COUNT)
	public int getNLPublicCount(@Named("isPublic") Integer isPublic){
		return 0;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_PUBLIC_USER)
	public List<NoteList> getNLUserPublic(@Named("isPublic") Integer isPublic,@Named("userId") String userId ,@FirstResult int first,@MaxResults int max){
		return null;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_PUBLIC_USER_COUNT)
	public int getNLUserPublicCount(@Named("isPublic") Integer isPublic,@Named("userId") String userId){
		return 0;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_PUBLIC)
	public List<NoteList> getNLClsPublic(@Named("isPublic") Integer isPublic,@Named("noteCls") String noteCls,@FirstResult int first,@MaxResults int max){
		return null;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_PUBLIC_COUNT)
	public int getNLClsPublicCount(@Named("isPublic") Integer isPublic,@Named("noteCls") String noteCls){
		return 0;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_USER)
	public List<NoteList> getNLClsUser(@Named("userId") String userId,@Named("noteCls") String noteCls,@FirstResult int first,@MaxResults int max){
		return null;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_USER_COUNT)
	public int getNLClsUserCount(@Named("userId") String userId,@Named("noteCls") String noteCls){
		return 0;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_USER_PUBLIC)
	public List<NoteList> getNLClsUserPublic(@Named("userId") String userId,@Named("isPublic") Integer isPublic,@Named("noteCls") String noteCls,@FirstResult int first,@MaxResults int max){
		return null;
	}
	
	@Finder(namedQuery=NoteList.NOTE_LIST_FIND_CLS_USER_PUBLIC_COUNT)
	public int getNLClsUserPublicCount(@Named("userId") String userId,@Named("isPublic") Integer isPublic,@Named("noteCls") String noteCls){
		return 0;
	}
}
